package com.chs.recoginition.aip;

import lombok.Getter;

/**
 * 封装feign的异常
 *
 * @author Zongwei
 */
public class FeignClientException extends RuntimeException {

    @Getter
    private FeignClientError feignClientError;

    public FeignClientException(String message) {
        super(message);
    }

    public FeignClientException(String message, FeignClientError error) {
        super(message);
        this.feignClientError = error;
    }

}
